Try harder to handle accelerators involving virtual modifiers
authorMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2009 16:15:28 +0000 (11:15 -0500)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:53:37 +0000 (20:53 -0400)
commitd1c3745b07fe04814279dfa4a4fd03ca8b244976
treed95ac228440b07b9f2f66972bc82b1aca28201fe
parent94f6a09585696b08824d9542a686f0d5437b803e
Try harder to handle accelerators involving virtual modifiers

This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.

This should fix bug 603190 and bug 427409.
docs/reference/gdk/gdk-sections.txt
gdk/gdk.symbols
gdk/gdkkeys.h
gdk/x11/gdkkeys-x11.c
gtk/gtkkeyhash.c